package presenters;

import android.view.View;
import views.IFieldView;

/**
 * This is the AdminAccountPresenter. It interfaces the model and view
 * 
 * @author Stephen
 * 
 */
public class AdminAccountPresenter {

	/** view for admin account */
	private final IFieldView myView;

	/**
	 * The constructor that creates this
	 * 
	 * @param view
	 *            - the view that will interface
	 */
	public AdminAccountPresenter(IFieldView view) {
		myView = view;
	}

	/**
	 * When exit is clicked
	 * 
	 * @param source
	 *            - the source used
	 */
	public void onBackClick(View source) {
		myView.advance(source);
	}

}